From 9282de479a985b29072f58d98ce540e8639dccee Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Mon, 21 Nov 2005 13:14:38 +0100 Subject: [PATCH] Append the new device config to our internal structure, in device_create. This will preserve the new device config across migration. Signed-off-by: Ewan Mellor --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 1904737825..907c0b1875 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1272,7 +1272,7 @@ class XendDomainInfo: dev_type = sxp.name(dev_config) devid = self.createDevice(dev_type, dev_config) self.waitForDevice(dev_type, devid) -# self.config.append(['device', dev.getConfig()]) + self.info['device'].append((dev_type, dev_config)) return self.getDeviceController(dev_type).sxpr(devid) -- 2.30.2